package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 日志Excel导出对象 excel_download_log
 * 
 * @author ruoyi
 * @date 2022-09-21
 */
public class ExcelDownloadLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String appleId;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyDate;

    /** 下载时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下载时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date downloadDate;

    /** 导出人ID */
    @Excel(name = "导出人ID")
    private Long exportUserId;

    /** 导出人部门 */
    @Excel(name = "导出人供电所")
    private String exportDeptId;

    /** 导出人 */
    @Excel(name = "导出人")
    private String exportUserName;

    /** 文件是否已下载 */
    @Excel(name = "文件是否已下载")
    private String fileStatus;

    public void setAppleId(String appleId)
    {
        this.appleId = appleId;
    }

    public String getAppleId()
    {
        return appleId;
    }
    public void setApplyDate(Date applyDate) 
    {
        this.applyDate = applyDate;
    }

    public Date getApplyDate() 
    {
        return applyDate;
    }
    public void setDownloadDate(Date downloadDate) 
    {
        this.downloadDate = downloadDate;
    }

    public Date getDownloadDate() 
    {
        return downloadDate;
    }
    public void setExportUserId(Long exportUserId) 
    {
        this.exportUserId = exportUserId;
    }

    public Long getExportUserId() 
    {
        return exportUserId;
    }
    public void setExportDeptId(String exportDeptId)
    {
        this.exportDeptId = exportDeptId;
    }

    public String getExportDeptId()
    {
        return exportDeptId;
    }
    public void setExportUserName(String exportUserName) 
    {
        this.exportUserName = exportUserName;
    }

    public String getExportUserName() 
    {
        return exportUserName;
    }
    public void setFileStatus(String fileStatus) 
    {
        this.fileStatus = fileStatus;
    }

    public String getFileStatus() 
    {
        return fileStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appleId", getAppleId())
            .append("applyDate", getApplyDate())
            .append("downloadDate", getDownloadDate())
            .append("exportUserId", getExportUserId())
            .append("exportDeptId", getExportDeptId())
            .append("exportUserName", getExportUserName())
            .append("fileStatus", getFileStatus())
            .toString();
    }
}
